package com.glx.learn_spring.learn_spring_04_bean_lifecycle.dao.impl;

import com.glx.learn_spring.learn_spring_04_bean_lifecycle.dao.IBookDao;

/**
 * @author haoli
 * @create 2022/11/30 13:45
 */
public class BookDaoImpl implements IBookDao {
    @Override
    public void save() {
        System.out.println("bookDao save ...");
    }

    /**
     * bean的初始化方法
     */
    public void init() {
        System.out.println("bookDao init ...");
    }

    /**
     * bean的销毁方法
     */
    public void destory() {
        System.out.println("bookDao destory ...");
    }
}
